package com.aviccxzx.smarthome.entity;

import java.util.List;

/**
 * Created by joey on 2017/11/8.
 */

public class MsgStateBean {

    /**
     * code : 0
     * data : [{"id":"string","mac":"string","messageSwitch":0,"uid":"string"}]
     * message : string
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : string
         * mac : string
         * messageSwitch : 0
         * uid : string
         */

        private String id;
        private String mac;
        private int messageSwitch;
        private String uid;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMac() {
            return mac;
        }

        public void setMac(String mac) {
            this.mac = mac;
        }

        public int getMessageSwitch() {
            return messageSwitch;
        }

        public void setMessageSwitch(int messageSwitch) {
            this.messageSwitch = messageSwitch;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }
    }
}
